<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<html lang="en"
	class="app js no-touch no-android chrome no-firefox no-iemobile no-ie no-ie10 no-ie11 no-ios no-ios7 ipad">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<!-- Google Chrome Frame也可以让IE用上Chrome的引擎: -->
<meta http-equiv="X-UA-Compatible" content="IE=edge;chrome=1">
<link href="/favicon.ico" type="image/x-icon" rel=icon>
<link href="/favicon.ico" type="image/x-icon" rel="shortcut icon">
<meta name="renderer" content="webkit">
<title>登录－腾大管理系统</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet"
	href="${pageContext.servletContext.contextPath }/admin_files/min.css">
<link rel="stylesheet"
	href="${pageContext.servletContext.contextPath }/admin_files/login.css">
<link
	href="${pageContext.servletContext.contextPath }/admin_files/css.css"
	rel="stylesheet" type="text/css">
</head>

<script language="JavaScript">
	if (window != top) {
		top.location.href = location.href;
	} else {
		var url = window.location.href;
		var Login = url.split('/');
		var s = Login[Login.length - 1].split(';');
		var s1 = s[0].split('.');
		if (s1[0] != "login") {
			window.history.back(-1);
		}
	}
</script>

<body
	style="background-image: url('${pageContext.servletContext.contextPath }/admin_files/9.jpg');margin-top:0px;background-repeat: round;background-size:100% auto;"">
	<div id="loginbox" style="padding-top: 10%;">
		<form id="loginform" name="loginform" class="form-vertical"
			action="${pageContext.servletContext.contextPath }/login.shtml"
			method="post">

			<div class="control-group normal_text">
				<h1>和客中央管理系统</h1>
				<%-- <table style="width: 100%">
					<tr>
						<td align="left"><img
							src="${pageContext.servletContext.contextPath }/admin_files/logo_left.png"
							alt="Logo"></td>
							<td align="center" style="font-weight: bold;color: #fff;"></td>
						<td align="right"><img
							src="${pageContext.servletContext.contextPath }/admin_files/logo_left.png"
							alt="Logo"></td>
					</tr>
				</table> --%>
			</div>
			<div class="control-group">
				<div class="controls">
					<div class="main_input_box">
						<span class="add-on bg_ly" style="background: #28b779"><img
							src="${pageContext.servletContext.contextPath }/admin_files/account_1.png"
							alt="请输入账号.."></span><input type="text" placeholder="username" name="username" value="admin"
							/>
					</div>
				</div>
			</div>
			<div class="control-group">
				<div class="controls">
					<div class="main_input_box">
						<span class="add-on bg_ly"><img
							src="${pageContext.servletContext.contextPath }/admin_files/lock_1.png"
							alt="请输入密码.."></span><input type="password" placeholder="password" name="password" value="123456"
							/>
					</div>
				</div>
			</div>
			<div class="control-group">
				<div class="controls" style="text-align:center">
					<span class="btn_log">
						<a type="submit" href="javascript:checkUserForm()" class="btn btn-success">登&nbsp;&nbsp;录</a>
					</span>
				</div>
			</div>
			
			
		</form>
	</div>
	<script type="text/javascript">
		if ("${error}" != "") {
			alert("${error}");
		};
		function checkUserForm() {
			document.loginform.submit();
		}
	</script>
</body>
</html>